package com.dayu.share.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 商品信息对象 share_goods
 * 
 * @author HK
 * @date 2021-04-08
 */
public class ShareGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 品牌编号 */
    @Excel(name = "品牌编号")
    private Long brandId;

    /** 类型编号 */
    @Excel(name = "类型编号")
    private Long typeId;

    /** 系列编号 */
    @Excel(name = "系列编号")
    private Long seriesId;

    /** 规格组 */
    @Excel(name = "规格组")
    private String specsMap;

    /** 成色组 */
    @Excel(name = "成色组")
    private String qualityIds;

    /** 排序 */
    @Excel(name = "排序")
    private Long goodsSort;

    @Excel(name = "是否显示", readConverterExp = "1=是,2=否")
    private Integer hasShow;

    public Integer getHasShow() {
        return hasShow;
    }

    public void setHasShow(Integer hasShow) {
        this.hasShow = hasShow;
    }

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setSeriesId(Long seriesId) 
    {
        this.seriesId = seriesId;
    }

    public Long getSeriesId() 
    {
        return seriesId;
    }
    public void setSpecsMap(String specsMap) 
    {
        this.specsMap = specsMap;
    }

    public String getSpecsMap() 
    {
        return specsMap;
    }
    public void setQualityIds(String qualityIds) 
    {
        this.qualityIds = qualityIds;
    }

    public String getQualityIds() 
    {
        return qualityIds;
    }
    public void setGoodsSort(Long goodsSort) 
    {
        this.goodsSort = goodsSort;
    }

    public Long getGoodsSort() 
    {
        return goodsSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("brandId", getBrandId())
            .append("typeId", getTypeId())
            .append("seriesId", getSeriesId())
            .append("specsMap", getSpecsMap())
            .append("qualityIds", getQualityIds())
            .append("goodsSort", getGoodsSort())
            .toString();
    }
}
